﻿#region License
// (c) Intergen.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
#endregion

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace TextGlow.Control.Controls.Document
{
  public struct Border
  {
    private string _style;
    private double _width;
    private Color _color;
    private double _spacing;

    public bool IsVisible
    {
      get { return _width > 0 && _style != "nil"; }
    }

    public double Spacing
    {
      get { return _spacing; }
      set { _spacing = value; }
    }

    public Color Color
    {
      get { return _color; }
      set { _color = value; }
    }

    public double Width
    {
      get { return _width; }
      set { _width = value; }
    }

    public string Style
    {
      get { return _style; }
      set { _style = value; }
    }

    //public Border()
    //{
    //  _spacing = default(double);
    //  _width = default(double);
    //  _color = default(Color);
    //  _style = default(string);
    //}
  }
}